package animalParadise;

/*
 * 动物类（父类）
 */

public abstract class Animal {
	private String name; // 名字
	
	public Animal(){
		
	}
	
	public Animal(String name){
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	// 叫
	public abstract String shout();

}
